#pragma once

#include "Robot.h"
#include "RobotDlg.h"
#include "PartsDlg.h"
#include "resource.h"

#define NUM_TOOL_TABS 2

// CToolTabCtrl

class CToolTabCtrl : public CTabCtrl
{
	DECLARE_DYNAMIC(CToolTabCtrl)

public:
	CToolTabCtrl();
	virtual ~CToolTabCtrl();
	int m_DialogID[NUM_TOOL_TABS];
	enum { IDD = IDC_TAB1 };

	//CDialog Array Variable to hold the dialogs 
	CDialog *m_Dialog[NUM_TOOL_TABS];

	//Function to Create the dialog boxes during startup
	void InitDialogs();

	//Function to activate the tab dialog boxes 
	void ActivateTabDialogs();

private:
	int m_nPageCount;

protected:
	LRESULT OnGetDefID(WPARAM wp, LPARAM lp);
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnTcnSelchange(NMHDR *pNMHDR, LRESULT *pResult);
	afx_msg void OnSelchange(NMHDR *pNMHDR, LRESULT *pResult);
};


